<div id="ContentGroup">
    <div class="count-header">
        <a>第三方登录添加</a>
    </div>
    <div class="count-content-group">
        <div class="count-content">
            <form  id="DSFDL_Insert" data-role="form" data-event="finish" data-type="post" data-url="<{'DSFDL_Insert_Action'|U}>">
                <input type="hidden" id="DSFDL_BH_ORA"  name="DSFDL_BH_ORA" value="<{$Model->DSFDL_BH|security_encript}>" />
                <input type="hidden" id="YHXX_BH"  name="YHXX_BH" value="<{$Model->YHXX_BH}>" />
                <div class="count-content-title">第三方登录</div>
                <div class="count-content-type"><{*此处添加全局注释*}></div>
                <div class="form-list-item">
                    <label class="form-list-item-label"><span style="color: red">*</span>用户ID</label>
                    <input type="text" id="DSFDL_YHID" name="DSFDL_YHID" value="<{$Model->DSFDL_YHID }>"/>
                    <p class="form-list-item-tip">第三方登录编号</p>
                </div>
                <{*<div class="form-list-item">*}>
                    <{*<label class="form-list-item-label"><span style="color: red">*</span>登录时间</label>*}>
                    <{*<input type="text" id="DSFDL_DLSJ" name="DSFDL_DLSJ" value="<{$Model->DSFDL_DLSJ }>"/>*}>
                    <{*<p class="form-list-item-tip">最后一次访问时间</p>*}>
                <{*</div>*}>
                <div class="form-list-item">
                    <label class="form-list-item-label"><span style="color: red">*</span>登录来源</label>
                    <{'DSFDL_DLLY'|html_dropdownlist:["设备登录" , "新浪微博" , "腾讯微博" , "人人网" , "QQ空间"]:$Model->DSFDL_DLLY}>
                    <p class="form-list-item-tip"></p>
                </div>
            </form>     
            <div class="form-operation">
                <span class="button" id="DSFDL_Insert-Submit">提交</span>
                <span class="button" data-role="back">返回</span>
            </div>
        </div>
    </div>
</div>
<script>
    $(function () {
        $("#ContentGroup").formset(0);//开启页面标签页
        //$("#DSFDL_Insert").vtip();//开启鼠标提示.
        
        //客户端验证脚本
        $("#DSFDL_Insert").validate({
            rules:{
                "DSFDL_BH":{
                    "maxbytelength":50 ,
                    "required":true 
                }, 
                "YHXX_BH":{
                    "maxbytelength":50 ,
                    "required":true 
                }, 
                "DSFDL_YHID":{
                    "maxbytelength":200 ,
                    "required":true 
                }, 
                "DSFDL_DLLY":{
                    "maxbytelength":50 ,
                    "required":true 
                }, 
                "example":{} //可继续追加jquery validate客户端验证条件
            },
            "errorClass": "form-list-item-warn",
            //errorPlacement: function (error, element) {element.attr("data-tips", error.text());},//关闭默认提示，使用鼠标提示框时使用
            submitHandler: function () {
                $("#DSFDL_Insert").trigger("finish");
            }
        });
    
        $("#DSFDL_DLSJ").attr("data-tip","最后一次访问时间");
        $("#DSFDL_Insert-Submit").click(function () {
            $("#DSFDL_Insert").submit();
        });
    });
</script>
